<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>BabyOS: b_ssd1289.c Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="2.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">BabyOS
   &#160;<span id="projectnumber">V2.0.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_b9223522bb56aee4ab59f7ba381d2163.html">bos</a></li><li class="navelem"><a class="el" href="dir_bd0e78931a998067c69a2f2b1c188ef6.html">drivers</a></li><li class="navelem"><a class="el" href="dir_66d2336a6add43b86bead8301b0536f4.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">b_ssd1289.c</div>  </div>
</div><!--header-->
<div class="contents">
<a href="b__ssd1289_8c.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment">/*Includes ----------------------------------------------*/</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="b__ssd1289_8h.html">b_ssd1289.h</a>&quot;</span></div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="preprocessor">#ifndef _LCD_X_SIZE</span></div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="group___s_s_d1289___private___defines.html#ga042d041b278f1daa00aa932463fcf1dd">   59</a></span>&#160;<span class="preprocessor">#define _LCD_X_SIZE     240</span></div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="preprocessor">#ifndef _LCD_Y_SIZE</span></div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="group___s_s_d1289___private___defines.html#ga46b71f44ae1290740ab5809d1a5644c4">   63</a></span>&#160;<span class="preprocessor">#define _LCD_Y_SIZE     320</span></div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="comment">/****************************************************************/</span></div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="keyword">static</span> <span class="keywordtype">void</span> _SSD1289WriteReg(<a class="code" href="structb_driver_interface.html">bSSD1289_Driver_t</a> *pdrv, uint16_t cmd, uint16_t dat)</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;{</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    ((<a class="code" href="structb_s_s_d1289_private__t.html">bSSD1289Private_t</a> *)pdrv-&gt;<a class="code" href="structb_driver_interface.html#a1cb76d737bf6f5b53e6c970073cba051">_private</a>)-&gt;pWriteCmd(cmd);</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    ((<a class="code" href="structb_s_s_d1289_private__t.html">bSSD1289Private_t</a> *)pdrv-&gt;<a class="code" href="structb_driver_interface.html#a1cb76d737bf6f5b53e6c970073cba051">_private</a>)-&gt;pWriteDat(dat);</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;}</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;<span class="comment">/******************************************************************/</span></div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<span class="keyword">static</span> <span class="keywordtype">void</span> _bSSD1289SetWindow(<a class="code" href="structb_driver_interface.html">bSSD1289_Driver_t</a> *pdrv, uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2)</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;{</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    _SSD1289WriteReg(pdrv, 0x0044, ((x2 &lt;&lt; 8) | x1));</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    _SSD1289WriteReg(pdrv, 0x0045, y1);</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    _SSD1289WriteReg(pdrv, 0x0046, y2);</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    _SSD1289WriteReg(pdrv, 0x004E, x1);</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    _SSD1289WriteReg(pdrv, 0x004F, y1);</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    ((<a class="code" href="structb_s_s_d1289_private__t.html">bSSD1289Private_t</a> *)pdrv-&gt;<a class="code" href="structb_driver_interface.html#a1cb76d737bf6f5b53e6c970073cba051">_private</a>)-&gt;pWriteCmd(0x0022);</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;}</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;<span class="keyword">static</span> <span class="keywordtype">void</span> _bSSD1289FillFrame(<a class="code" href="structb_driver_interface.html">bSSD1289_Driver_t</a> *pdrv, uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t color)</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;{</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    uint32_t i = 0;</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    uint32_t j = (x2 - x1 + 1) * (y2 - y1 + 1);</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    _bSSD1289SetWindow(pdrv, x1, y1, x2, y2);</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;    <span class="keywordflow">for</span> (i = 0; i &lt; j; i++)</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;    {</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;        ((<a class="code" href="structb_s_s_d1289_private__t.html">bSSD1289Private_t</a> *)pdrv-&gt;<a class="code" href="structb_driver_interface.html#a1cb76d737bf6f5b53e6c970073cba051">_private</a>)-&gt;pWriteDat(color);</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;    }</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;}</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;<span class="comment">/************************************************************************************************************driver interface*******/</span></div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="keyword">static</span> <span class="keywordtype">int</span> _bSSD1289Write(uint32_t addr, uint8_t *pbuf, uint16_t len)</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;{</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    uint16_t x = addr % <a class="code" href="group___s_s_d1289___private___defines.html#ga042d041b278f1daa00aa932463fcf1dd">_LCD_X_SIZE</a>;</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    uint16_t y = addr / <a class="code" href="group___s_s_d1289___private___defines.html#ga042d041b278f1daa00aa932463fcf1dd">_LCD_X_SIZE</a>;</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    uint16_t color;</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    <a class="code" href="structb_driver_interface.html">bSSD1289_Driver_t</a> *pdrv;</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;    <span class="keywordflow">if</span>(y &gt;= <a class="code" href="group___s_s_d1289___private___defines.html#ga46b71f44ae1290740ab5809d1a5644c4">_LCD_Y_SIZE</a> || pbuf == <a class="code" href="b__config_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a> || len &lt; 2)</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;    {</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;        <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;    }</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;    </div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;    <span class="keywordflow">if</span>(0 &gt; <a class="code" href="group___d_e_v_i_c_e___exported___functions.html#ga68ca63b3b250e637cffeee7e44a65af6">bDeviceGetCurrentDrv</a>(&amp;pdrv))</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;    {</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;        <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    }     </div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;    </div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    color = ((uint16_t *)pbuf)[0];</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    _bSSD1289SetWindow(pdrv, x, y, x, y);</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    ((<a class="code" href="structb_s_s_d1289_private__t.html">bSSD1289Private_t</a> *)pdrv-&gt;<a class="code" href="structb_driver_interface.html#a1cb76d737bf6f5b53e6c970073cba051">_private</a>)-&gt;pWriteDat(color);</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;    <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;}</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<span class="keyword">static</span> <span class="keywordtype">int</span> _bSSD1289Ctl(uint8_t cmd, <span class="keywordtype">void</span> * param)</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;{</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;    <a class="code" href="structb_driver_interface.html">bSSD1289_Driver_t</a> *pdrv;</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;    <span class="keywordflow">if</span>(0 &gt; <a class="code" href="group___d_e_v_i_c_e___exported___functions.html#ga68ca63b3b250e637cffeee7e44a65af6">bDeviceGetCurrentDrv</a>(&amp;pdrv))</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;    {</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;        <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;    }</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;    </div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    <span class="keywordflow">switch</span>(cmd)</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;    {</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="group___d_e_v_i_c_e___ctl_c_m_d___defines.html#gabec095c57675db831045df5296ff3f3b">bCMD_FILL_FRAME</a>:</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;            {</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;                <a class="code" href="structb_c_m_d___struct__t.html">bCMD_Struct_t</a> *p = (<a class="code" href="structb_c_m_d___struct__t.html">bCMD_Struct_t</a> *)param;</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;                _bSSD1289FillFrame(pdrv, p-&gt;<a class="code" href="structb_c_m_d___struct__t.html#a7ce465aa898864961d9fcfd902cc61fc">param</a>.<a class="code" href="structb_c_m_d___struct__t.html#a4a100e9b855d6562a4ae6a9d86c380c8">fill_frame</a>.<a class="code" href="structb_c_m_d___fill_frame__t.html#aedb5fdfe3c1d1a915b668ba7f3950753">x1</a>, p-&gt;<a class="code" href="structb_c_m_d___struct__t.html#a7ce465aa898864961d9fcfd902cc61fc">param</a>.<a class="code" href="structb_c_m_d___struct__t.html#a4a100e9b855d6562a4ae6a9d86c380c8">fill_frame</a>.<a class="code" href="structb_c_m_d___fill_frame__t.html#a47ada631c22a9d40348069145654f255">y1</a></div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;                                ,p-&gt;<a class="code" href="structb_c_m_d___struct__t.html#a7ce465aa898864961d9fcfd902cc61fc">param</a>.<a class="code" href="structb_c_m_d___struct__t.html#a4a100e9b855d6562a4ae6a9d86c380c8">fill_frame</a>.<a class="code" href="structb_c_m_d___fill_frame__t.html#ac5bc000f8954f38b7a641a485a26bae7">x2</a>, p-&gt;<a class="code" href="structb_c_m_d___struct__t.html#a7ce465aa898864961d9fcfd902cc61fc">param</a>.<a class="code" href="structb_c_m_d___struct__t.html#a4a100e9b855d6562a4ae6a9d86c380c8">fill_frame</a>.<a class="code" href="structb_c_m_d___fill_frame__t.html#aa377184ba406b3f0c4ac18c935378204">y2</a></div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;                                ,p-&gt;<a class="code" href="structb_c_m_d___struct__t.html#a7ce465aa898864961d9fcfd902cc61fc">param</a>.<a class="code" href="structb_c_m_d___struct__t.html#a4a100e9b855d6562a4ae6a9d86c380c8">fill_frame</a>.<a class="code" href="structb_c_m_d___fill_frame__t.html#a0b10c5b0fa8e65e009263b93ba2671ae">color</a>);</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;            }</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;            <span class="keywordflow">break</span>;</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;    }</div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;    <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;}</div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;</div><div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="group___s_s_d1289___exported___functions.html#ga564904b774a1b471eea294cceeecb068">  187</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group___s_s_d1289___exported___functions.html#ga564904b774a1b471eea294cceeecb068">bSSD1289_Init</a>(<a class="code" href="structb_driver_interface.html">bSSD1289_Driver_t</a> *pdrv)</div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;{      </div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;    _SSD1289WriteReg(pdrv, 0x0007, 0x0021);</div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;    _SSD1289WriteReg(pdrv, 0x0000, 0x0001);</div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;    _SSD1289WriteReg(pdrv, 0x0007, 0x0023);</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;    _SSD1289WriteReg(pdrv, 0x0010, 0x0000);</div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;    _SSD1289WriteReg(pdrv, 0x0007, 0x0033);</div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;    _SSD1289WriteReg(pdrv, 0x0011, 0x6838); </div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;    _SSD1289WriteReg(pdrv, 0x0002, 0x0600);</div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;    _SSD1289WriteReg(pdrv, 0x0001, 0x2B3F); </div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160; </div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;    pdrv-&gt;<a class="code" href="structb_driver_interface.html#a533fda1241149e9fe787957492b2b1fc">close</a> = <a class="code" href="b__config_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;    pdrv-&gt;<a class="code" href="structb_driver_interface.html#a671c1e21440d7a8a58f1e244a4880d6f">read</a> = <a class="code" href="b__config_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;    pdrv-&gt;<a class="code" href="structb_driver_interface.html#a92bf484ff16ad77727b6afe688c7e98e">ctl</a> = _bSSD1289Ctl;</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;    pdrv-&gt;<a class="code" href="structb_driver_interface.html#a87e704566d0a15f1aabbbfb208438c81">open</a> = <a class="code" href="b__config_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;    pdrv-&gt;<a class="code" href="structb_driver_interface.html#af67fbf8f75e899efac0872e7469a33c2">write</a> = _bSSD1289Write;</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;    <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;}</div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;</div><div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;</div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;</div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;</div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;</div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;</div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;<span class="comment">/************************ Copyright (c) 2019 Bean *****END OF FILE****/</span></div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;</div><div class="ttc" id="b__config_8h_html_a070d2ce7b6bb7e5c05602aa8c308d0c4"><div class="ttname"><a href="b__config_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a></div><div class="ttdeci">#define NULL</div><div class="ttdef"><b>Definition:</b> <a href="b__config_8h_source.html#l00042">b_config.h:42</a></div></div>
<div class="ttc" id="structb_c_m_d___fill_frame__t_html_a0b10c5b0fa8e65e009263b93ba2671ae"><div class="ttname"><a href="structb_c_m_d___fill_frame__t.html#a0b10c5b0fa8e65e009263b93ba2671ae">bCMD_FillFrame_t::color</a></div><div class="ttdeci">uint16_t color</div><div class="ttdef"><b>Definition:</b> <a href="b__device_8h_source.html#l00067">b_device.h:67</a></div></div>
<div class="ttc" id="structb_s_s_d1289_private__t_html"><div class="ttname"><a href="structb_s_s_d1289_private__t.html">bSSD1289Private_t</a></div><div class="ttdef"><b>Definition:</b> <a href="b__ssd1289_8h_source.html#l00056">b_ssd1289.h:56</a></div></div>
<div class="ttc" id="group___s_s_d1289___private___defines_html_ga042d041b278f1daa00aa932463fcf1dd"><div class="ttname"><a href="group___s_s_d1289___private___defines.html#ga042d041b278f1daa00aa932463fcf1dd">_LCD_X_SIZE</a></div><div class="ttdeci">#define _LCD_X_SIZE</div><div class="ttdef"><b>Definition:</b> <a href="b__ssd1289_8c_source.html#l00059">b_ssd1289.c:59</a></div></div>
<div class="ttc" id="structb_c_m_d___fill_frame__t_html_aa377184ba406b3f0c4ac18c935378204"><div class="ttname"><a href="structb_c_m_d___fill_frame__t.html#aa377184ba406b3f0c4ac18c935378204">bCMD_FillFrame_t::y2</a></div><div class="ttdeci">uint16_t y2</div><div class="ttdef"><b>Definition:</b> <a href="b__device_8h_source.html#l00066">b_device.h:66</a></div></div>
<div class="ttc" id="structb_driver_interface_html"><div class="ttname"><a href="structb_driver_interface.html">bDriverInterface</a></div><div class="ttdef"><b>Definition:</b> <a href="b__device_8h_source.html#l00083">b_device.h:83</a></div></div>
<div class="ttc" id="structb_c_m_d___struct__t_html_a4a100e9b855d6562a4ae6a9d86c380c8"><div class="ttname"><a href="structb_c_m_d___struct__t.html#a4a100e9b855d6562a4ae6a9d86c380c8">bCMD_Struct_t::fill_frame</a></div><div class="ttdeci">bCMD_FillFrame_t fill_frame</div><div class="ttdef"><b>Definition:</b> <a href="b__device_8h_source.html#l00077">b_device.h:77</a></div></div>
<div class="ttc" id="structb_driver_interface_html_a533fda1241149e9fe787957492b2b1fc"><div class="ttname"><a href="structb_driver_interface.html#a533fda1241149e9fe787957492b2b1fc">bDriverInterface::close</a></div><div class="ttdeci">int(* close)(void)</div><div class="ttdef"><b>Definition:</b> <a href="b__device_8h_source.html#l00087">b_device.h:87</a></div></div>
<div class="ttc" id="structb_c_m_d___fill_frame__t_html_aedb5fdfe3c1d1a915b668ba7f3950753"><div class="ttname"><a href="structb_c_m_d___fill_frame__t.html#aedb5fdfe3c1d1a915b668ba7f3950753">bCMD_FillFrame_t::x1</a></div><div class="ttdeci">uint16_t x1</div><div class="ttdef"><b>Definition:</b> <a href="b__device_8h_source.html#l00063">b_device.h:63</a></div></div>
<div class="ttc" id="group___s_s_d1289___private___defines_html_ga46b71f44ae1290740ab5809d1a5644c4"><div class="ttname"><a href="group___s_s_d1289___private___defines.html#ga46b71f44ae1290740ab5809d1a5644c4">_LCD_Y_SIZE</a></div><div class="ttdeci">#define _LCD_Y_SIZE</div><div class="ttdef"><b>Definition:</b> <a href="b__ssd1289_8c_source.html#l00063">b_ssd1289.c:63</a></div></div>
<div class="ttc" id="group___d_e_v_i_c_e___exported___functions_html_ga68ca63b3b250e637cffeee7e44a65af6"><div class="ttname"><a href="group___d_e_v_i_c_e___exported___functions.html#ga68ca63b3b250e637cffeee7e44a65af6">bDeviceGetCurrentDrv</a></div><div class="ttdeci">int bDeviceGetCurrentDrv(bDriverInterface_t **pdrv)</div><div class="ttdef"><b>Definition:</b> <a href="b__device_8c_source.html#l00275">b_device.c:275</a></div></div>
<div class="ttc" id="group___s_s_d1289___exported___functions_html_ga564904b774a1b471eea294cceeecb068"><div class="ttname"><a href="group___s_s_d1289___exported___functions.html#ga564904b774a1b471eea294cceeecb068">bSSD1289_Init</a></div><div class="ttdeci">int bSSD1289_Init(bSSD1289_Driver_t *pdrv)</div><div class="ttdef"><b>Definition:</b> <a href="b__ssd1289_8c_source.html#l00187">b_ssd1289.c:187</a></div></div>
<div class="ttc" id="structb_driver_interface_html_a671c1e21440d7a8a58f1e244a4880d6f"><div class="ttname"><a href="structb_driver_interface.html#a671c1e21440d7a8a58f1e244a4880d6f">bDriverInterface::read</a></div><div class="ttdeci">int(* read)(uint32_t addr, uint8_t *pbuf, uint16_t len)</div><div class="ttdef"><b>Definition:</b> <a href="b__device_8h_source.html#l00090">b_device.h:90</a></div></div>
<div class="ttc" id="structb_driver_interface_html_af67fbf8f75e899efac0872e7469a33c2"><div class="ttname"><a href="structb_driver_interface.html#af67fbf8f75e899efac0872e7469a33c2">bDriverInterface::write</a></div><div class="ttdeci">int(* write)(uint32_t addr, uint8_t *pbuf, uint16_t len)</div><div class="ttdef"><b>Definition:</b> <a href="b__device_8h_source.html#l00089">b_device.h:89</a></div></div>
<div class="ttc" id="structb_c_m_d___fill_frame__t_html_ac5bc000f8954f38b7a641a485a26bae7"><div class="ttname"><a href="structb_c_m_d___fill_frame__t.html#ac5bc000f8954f38b7a641a485a26bae7">bCMD_FillFrame_t::x2</a></div><div class="ttdeci">uint16_t x2</div><div class="ttdef"><b>Definition:</b> <a href="b__device_8h_source.html#l00065">b_device.h:65</a></div></div>
<div class="ttc" id="structb_c_m_d___fill_frame__t_html_a47ada631c22a9d40348069145654f255"><div class="ttname"><a href="structb_c_m_d___fill_frame__t.html#a47ada631c22a9d40348069145654f255">bCMD_FillFrame_t::y1</a></div><div class="ttdeci">uint16_t y1</div><div class="ttdef"><b>Definition:</b> <a href="b__device_8h_source.html#l00064">b_device.h:64</a></div></div>
<div class="ttc" id="structb_driver_interface_html_a87e704566d0a15f1aabbbfb208438c81"><div class="ttname"><a href="structb_driver_interface.html#a87e704566d0a15f1aabbbfb208438c81">bDriverInterface::open</a></div><div class="ttdeci">int(* open)(void)</div><div class="ttdef"><b>Definition:</b> <a href="b__device_8h_source.html#l00086">b_device.h:86</a></div></div>
<div class="ttc" id="structb_c_m_d___struct__t_html"><div class="ttname"><a href="structb_c_m_d___struct__t.html">bCMD_Struct_t</a></div><div class="ttdef"><b>Definition:</b> <a href="b__device_8h_source.html#l00071">b_device.h:71</a></div></div>
<div class="ttc" id="structb_driver_interface_html_a92bf484ff16ad77727b6afe688c7e98e"><div class="ttname"><a href="structb_driver_interface.html#a92bf484ff16ad77727b6afe688c7e98e">bDriverInterface::ctl</a></div><div class="ttdeci">int(* ctl)(uint8_t cmd, void *param)</div><div class="ttdef"><b>Definition:</b> <a href="b__device_8h_source.html#l00088">b_device.h:88</a></div></div>
<div class="ttc" id="b__ssd1289_8h_html"><div class="ttname"><a href="b__ssd1289_8h.html">b_ssd1289.h</a></div></div>
<div class="ttc" id="structb_c_m_d___struct__t_html_a7ce465aa898864961d9fcfd902cc61fc"><div class="ttname"><a href="structb_c_m_d___struct__t.html#a7ce465aa898864961d9fcfd902cc61fc">bCMD_Struct_t::param</a></div><div class="ttdeci">union bCMD_Struct_t::@0 param</div></div>
<div class="ttc" id="structb_driver_interface_html_a1cb76d737bf6f5b53e6c970073cba051"><div class="ttname"><a href="structb_driver_interface.html#a1cb76d737bf6f5b53e6c970073cba051">bDriverInterface::_private</a></div><div class="ttdeci">void * _private</div><div class="ttdef"><b>Definition:</b> <a href="b__device_8h_source.html#l00091">b_device.h:91</a></div></div>
<div class="ttc" id="group___d_e_v_i_c_e___ctl_c_m_d___defines_html_gabec095c57675db831045df5296ff3f3b"><div class="ttname"><a href="group___d_e_v_i_c_e___ctl_c_m_d___defines.html#gabec095c57675db831045df5296ff3f3b">bCMD_FILL_FRAME</a></div><div class="ttdeci">#define bCMD_FILL_FRAME</div><div class="ttdef"><b>Definition:</b> <a href="b__device_8h_source.html#l00127">b_device.h:127</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
